<extend name="Base/common" />
<block name="body">
    <div class="wrapper-sm padd clear">
        <!--用户 -->
        <div class="self-side-l fl">
            <div class="self-side-l fl">
                <include file="Template:others" />
                <div class="self-hot-con">
                    <include file="Template:hot" />
                </div>
            </div>
        </div>
        <div class="self-side-content fr">
            <div class="code-setup box">
                <h2 class="fs-20 padd-lr v-align"><i class="icon icon-code-setup mar-r5"></i><span>关注游戏</span></h2>
            </div>
            <div class="box mar-t20">
                <div class="code-item-setup">
                    <div class="code-item-attention code-setup">
                        <ul class="float-ul ul-col-5 bor-bottom">
                            <li><a href="{:U('Others/fans', array('uid'=>$user['id']))}"><span>粉丝 ({$user.statis.fans})</span></a></li>
                            <li><a href="{:U('Others/friend', array('uid'=>$user['id']))}"><span>关注 ({$user.statis.follows})</span></a></li>
                            <li class="active"><a href="{:U('Others/game', array('uid'=>$user['id']))}"><span>游戏 ({$user.statis.scribe})</span></a></li>
                        </ul>
                    </div>
                    <div class="code-item-list">
                        <notempty name="data">
                            <div class="padd code-item-video mar-5lr">
                                <ul class="float-ul ul-col-4">
                                    <volist name="data" id="v">
                                        <li>
                                            <div class="hover-shadow shadow">
                                                <a href="{:U('Game/videos?id='.$v['id'])}" title="{$v.name}">
                                                    <div class="cover cover-list-video format-cover">
                                                        <img class="lazy-img" data-src="{$v.cover}" alt="{$v.title}">
                                                    </div>
                                                    <p class="l-align">{$v.name}<span class="fr fc-gray"><span class="scribe-num-{$v['id']}">{$v.scribe}</span>人订阅</span>
                                                    </p>
                                                    <div class="btn-code-prview">
                                                        <eq name="v.is_scribe" value="0">
                                                            <div class="btn btn-primary btn-game-attent js-scribe scribe-content-{$v['id']}" data-game="{$v['id']}">关注</div>
                                                        <else/>
                                                            <div class="btn btn-game-attent btn-primary js-scribe scribe-content-{$v['id']} active" data-game="{$v['id']}">已关注</div>
                                                        </eq>
                                                    </div>
                                                </a>
                                            </div>
                                        </li>
                                    </volist>
                                </ul>
                            </div>
                            <else/>
                            <div class=" padd-lr10 padd-tb  comment-root clear">
                                <div class="clear  smile-con">
                                    <div class="smile fl"></div>
                                    <div class="about-title fl">
                                        <div class="about-text mar-t20">
                                            <h3 class="fs-20 padd-t10">哎呀 没有信息</h3>
                                            <div class="self-detail_text fs-14 padd-tb10 about-detail"><span>TA还没有关注游戏哦</span></div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </notempty>
                    </div>
                    <notempty name="page">
                        <div class="code-item-page">
                            <div class="black">{$page}</div>
                        </div>
                    </notempty>
                </div>
            </div>
        </div>
    </div>
</block>